runtime.scavengeIndex.alloc (method)
6 uses
runtime (current package)
mgcscavenge.go#L1141: func (s *scavengeIndex) alloc(ci chunkIdx, npages uint) {
mpagealloc.go#L586: p.scav.index.alloc(sc, ei+1-si)
mpagealloc.go#L592: p.scav.index.alloc(sc, pallocChunkPages-si)
mpagealloc.go#L597: p.scav.index.alloc(c, pallocChunkPages)
mpagealloc.go#L602: p.scav.index.alloc(ec, ei+1)
mpagecache.go#L171: p.scav.index.alloc(ci, uint(sys.OnesCount64(c.cache)))
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |